package com.javase.homework.module2;

public class PhoneTest {
    public static void main(String[] args) {

        PhoneCard pc = new PhoneCard(CardType.SMALLCARD,1234567,"abcd","aaabbbccc",423.53,120,50);
        pc.show();

        System.out.println("---------------------------------");

        Package pk = new CallPackage(19.99,120,100);
        pk.show();

        System.out.println("---------------------------------");

        CallService cs = new CallPackage();
        cs.call(150,CardType.MICROCARD.getDesc());

        System.out.println("---------------------------------");
        Package pk2 = new NetPackage(59.99,60);
        pk2.show();

        System.out.println("---------------------------------");
        NetService ns = new NetPackage();
        ns.net(100,CardType.MICROCARD.getDesc());

    }
}
